//
// Created by wkm on 2023-12-03.
//

#ifndef MYSYSTEMCLEARNING_XOR_GATES_H
#define MYSYSTEMCLEARNING_XOR_GATES_H

#include "systemc.h"

const int SIZE = 4;

SC_MODULE(xor_gates) {
    sc_in<sc_uint<4> > bre, sty;
    sc_out<sc_uint<4> > tap;

    void prc_xor_gates();

    SC_CTOR(xor_gates) {
        SC_METHOD(prc_xor_gates);
        sensitive << bre << sty;
    }
};

#endif //MYSYSTEMCLEARNING_XOR_GATES_H
